package com.mark.search;

/**
 * <p>
 * 判空工具类
 * </p>
 *
 * @author : mark
 * @since : 2022/7/8 17:02
 */
public class StrUtil {

    public static boolean isEmpty(CharSequence str) {
        return str == null || str.length() == 0;
    }

    public static boolean isNotEmpty(CharSequence str) {
        return false == isEmpty(str);
    }
}
